<?php

use backend\assets\EchartsAsset;

/* @var $this yii\web\View */

$this->title = '开心的工作，愉快的生活。美好的一天就这么又开始了。^_^';
EchartsAsset::register($this);
?>
<div class="row">
    <div class="col-lg-3 col-xs-6">
        <!-- small box -->
        <div class="small-box bg-aqua">
            <div class="inner">
                <h3>
                    <?php echo \yii\helpers\Html::label(452231);?>
                </h3>
                <p>
                    <?php echo \yii\helpers\Html::label('昨日总访问量');?>
                </p>
            </div>
            <div class="icon">
                <i class="ion ion-bag"></i>
            </div>
            <a href="#" class="small-box-footer">
                More info <i class="fa fa-arrow-circle-right"></i>
            </a>
        </div>
    </div><!-- ./col -->

    <div class="col-lg-3 col-xs-6">
        <!-- small box -->
        <div class="small-box bg-green">
            <div class="inner">
                <h3>
                    <?php echo \yii\helpers\Html::label(143633);?>
                </h3>
                <p>
                    <?php echo \yii\helpers\Html::label('昨日新增 IP 数');?>
                </p>
            </div>
            <div class="icon">
                <i class="ion ion-stats-bars"></i>
            </div>
            <a href="#" class="small-box-footer">
                More info <i class="fa fa-arrow-circle-right"></i>
            </a>
        </div>
    </div><!-- ./col -->
    <div class="col-lg-3 col-xs-6">
        <!-- small box -->
        <div class="small-box bg-yellow">
            <div class="inner">
                <h3>
                    </i><?php echo \yii\helpers\Html::label(123322);?>
                </h3>
                <p>
                    <?php echo \yii\helpers\Html::label('实时访问量');?>
                </p>
            </div>
            <div class="icon">
                <i class="ion ion-person-add"></i>
            </div>
            <a href="#" class="small-box-footer">
                More info <i class="fa fa-arrow-circle-right"></i>
            </a>
        </div>
    </div><!-- ./col -->

    <div class="col-lg-3 col-xs-6">
        <!-- small box -->
        <div class="small-box bg-red">
            <div class="inner">
                <h3>
                    <?php echo \yii\helpers\Html::label(1335);?>
                </h3>
                <p>
                    <?php echo \yii\helpers\Html::label('今日新增 IP 数');?>
                </p>
            </div>
            <div class="icon">
                <i class="ion ion-person-add"></i>
            </div>
            <a href="#" class="small-box-footer">
                More ifnfo <i class="fa fa-arrow-circle-right"></i>
            </a>
        </div>
    </div><!-- ./col -->
</div>

<div class="row">
    <div class="col-lg-6 col-xs-12">
        <div class="box">
            <div class="box-header with-border">
                <i class="fa fa-hdd-o"></i>
                <h3 class="box-title">系统信息</h3>
            </div><!-- /.box-header -->
            <div class="box-body">
                <dl class="dl-horizontal">
                    <?php foreach ($sysInfo as $key => $info) :?>
                        <dt><?= $key ?></dt>
                        <dd><?= $info ?></dd>
                    <?php endforeach;?>
                </dl>
            </div><!-- /.box-body -->
        </div>
    </div>
    <div class="col-lg-6 col-xs-12">
        <div class="box">
            <div class="box-header with-border">
                <i class="fa fa-codepen"></i>
                <h3 class="box-title">产品团队</h3>
            </div><!-- /.box-header -->
            <div class="box-body">
                <dl class="dl-horizontal">
                    <dt>产品名称</dt>
                    <dd><?=Yii::$app->name?></dd>
                    <br/>
                    <dt>开发人员</dt>
                    <dd>Zansor</dd>
                    <br/>
                    <dt>Email:</dt>
                    <dd><?= Yii::$app->params['adminEmail']?></dd>
                    <br/>
                    <dt>访问者IP</dt>
                    <dd><?= Yii::$app->request->getUserIP()?></dd>


                </dl>
            </div><!-- /.box-body -->
        </div>
    </div>
</div>
